package com.zhengxing.jienci.content.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhengxing.jienci.common.pojo.Tag;

@Mapper
public interface TagMapper extends BaseMapper<Tag> {

	public int selectionTag(@Param("userId") String userId, @Param("tagId") String tagId);
	
	public int selectionTags(@Param("userId") String userId, @Param("tagIds") String[] tagIds);
	
	public int deleteTagByUserId(String userId);
	
	public int cancelTag(@Param("userId") String userId, @Param("tagId") String tagId);
	
	public List<String> listTagIdByUserId(String userId);

	public List<String> selectByNotExistSelected();
}
